package apiday02;

import java.util.Scanner;

public class ReplaceAllDemo14 {
    public static void main(String[] args) {
        /*
         *替换replaceAll();
         */
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入：");
        String str = scan.nextLine();
        String s = str.replaceAll("我[去操艹草靠]", "***");
        System.out.println(s);


    }
}
